home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C++ / Frameworks / Sprocket Framework DR2 / Sprocket Framework Interfaces / MultiPanelDialogWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-23  |  814 b   |  42 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        MultiPanelDialogWindow.h     
  3.  */
  4.  
  5. #ifndef        _MULTIPANELDIALOGWINDOW_
  6. #define        _MULTIPANELDIALOGWINDOW_
  7.  
  8. #ifndef        _DIALOGWINDOW_
  9. #include    "DialogWindow.h"
  10. #endif
  11.  
  12.  
  13. //    Information about the dialog ID we are using.
  14.  
  15.  
  16. class    TMultiPanelDialogWindow    :    public TDialogWindow
  17. {
  18. public:
  19.                         TMultiPanelDialogWindow(DialogTemplateID dialogTemplateID);
  20.  
  21.     virtual OSErr        IMultiPanelDialogWindow(short defaultPanel = 1, short guideItem = 0, short panelSelectorItem = 2);
  22.     
  23.     virtual    void        ItemHit(short theItem);
  24.     
  25.     virtual void        InitPanel(short thePanel) = 0;
  26.     virtual void        ClickInPanel(short thePanel, short theItem) = 0;
  27.     virtual void        ExitPanel(short thePanel) = 0;
  28.  
  29. protected:
  30.  
  31.     short    fOriginalCount;
  32.     short    fCurrentPanel;
  33.     short    fPanelSelectorItem;
  34.     short    fGuideItem;
  35.     
  36.     Str255    fGuideSearchString;
  37.     
  38. };
  39.  
  40. #endif
  41.  
  42.